package kata;

public class FizzBuzzImpl implements FizzBuzz {
	@Override
	public String answer(int number) {
		String FizzyBuzzy = "";
		if (number % 2 == 0) {
			FizzyBuzzy += "Fizz";
		}
		if (number % 3 == 0) {
			FizzyBuzzy += "Buzz";
		}
		if (number % 5 == 0) {
			FizzyBuzzy = "FizzBuzz";
		}
		if (FizzyBuzzy == "") {
			FizzyBuzzy = new Integer(number).toString();
		}
		return FizzyBuzzy;
	}
}
